# 导包
import unittest
from scripts.test02_login_params import TestLoginAPI
from htmltestreport import HTMLTestReport
import config

# 组装测试套件
suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestLoginAPI)

# 创建runner
runner = HTMLTestReport(config.BASE_PATH + "/report/report.html", title="API")

# 执行suite
runner.run(suite)
